// Home模块
import request from '@/utils/request'

// 获取banner数据
export function getBanner () {
  return request('/home/banner', 'GET')
}

// 获取新鲜好物
export const findNew = () => {
  return request('home/new', 'get')
}

// 获取人气推荐
export const findHot = () => {
  return request('home/hot', 'get')
}

// 获取热门品牌
export const findBrand = () => {
  return request('home/brand?limit=10', 'get')
}
